package com.ttnet.dao.base;

import java.io.Serializable;
import java.util.List;

/**
 * @author serhan.tuygun
 * 
 */
public interface GenericDao<T, ID extends Serializable> {

	T addEntity(T entity);

	public void removeEntityById(ID id);

	public void removeEntity(T entity);

	public void updateEntity(T entity);

	public T findEntity(ID id);

	public List<T> findEntities();

}
